<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <title>Bootstrap警告框案例</title>
</head>

<body>
    <div class="container">
        <div class="alert alert-success" role="alert">
            Hello 大家好！
        </div>
        <div class="alert alert-info" role="alert">
            Hello 大家好！
        </div>
        <div class="alert alert-warning" role="alert">
            Hello 大家好！
        </div>
        <div class="alert alert-danger" role="alert">
            Hello 大家好！
        </div>

        <div class="alert alert-warning" role="alert">
            <button type="button" class="close" data-dismiss="alert">
                <span aria-disabled="true">&times;</span>
            </button>
            <strong>欢迎来到极客学院</strong>
        </div>
        <div class="alert alert-info" role="alert">
            如有疑问请前往
            <a href="http://www.jikexueyuan.com" class="alert-link">极客学院</a>
        </div>
    </div>
    <script src="../js/jquery-1.12.4.js"></script>
    <script src="../js/bootstrap.min.js"></script>
</body>

</html>